package com.thinkgem.jeesite.modules.jedispubsub;

import java.util.Iterator;
import java.util.Set;

import com.thinkgem.jeesite.common.utils.JedisUtil;
import com.thinkgem.jeesite.common.utils.JedisUtils;

import redis.clients.jedis.Jedis;

public class JedisPub {
	public static void main(String[] args) throws InterruptedException {
		Jedis jedis = JedisUtil.getResource();  
		jedis.publish("redisChatTest", "message111");  
		jedis.publish("redisChatTest", "message222");  
		jedis.publish("redisChatTest", "message333");  
	}
	public void testPublish() throws Exception{  
    }  

}
